package com.lzy.cloud.search.client.service;

import com.lzy.cloud.search.client.entity.EsIndex;
import org.elasticsearch.action.get.GetResponse;
import org.elasticsearch.action.get.MultiGetResponse;

import java.util.List;

/**
 * Created by WIN7 on 2018/5/23.
 */
public interface GetDocmentService {

    GetResponse getDocment(EsIndex esIndex)  ;

    MultiGetResponse multiGet(List<EsIndex> esIndexList)  ;
}
